Proper fix for CC mode Bug#7722.
authorAlan Mackenzie <acm@muc.de>
Sun, 13 Feb 2011 20:25:15 +0000 (15:25 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 13 Feb 2011 20:25:15 +0000 (15:25 -0500)
commitf2c2c67071005c26b7a0e9235d2cbeeddba21f08
tree9d2b11b5516affe4d8a3d8f15d46b24a2e92b764
parent928696b04ff83986860292e9b75c64e378eae1c3
Proper fix for CC mode Bug#7722.

* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
narrow-to-region call that cuts context off the end (Bug#7722).

* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Refactor
nested if-forms with a simple cond.
(c-forward-<>-arglist): Revert 2011-01-31 change.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el